package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 监管标准-检查内容
    */
@Data
@TableName(value = "JG_CHECK_CONTENT")
public class JgCheckContent implements Serializable {

    @TableId(value = "ID", type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 监管标准id
     */
    @TableField(value = "STANDARD_ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long standardId;

    /**
     * 检查内容
     */
    @TableField(value = "CHECK_CONTENT")
    private String checkContent;

    /**
     * 重要项：1一般项，2重要项
     */
    @TableField(value = "IMPORTENT_ITEM")
    private String importentItem;

    /**
     * 合理缺项：0无，1有
     */
    @TableField(value = "MISSING_ITEM")
    private String missingItem;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

    /**
     * (否)分值
     */
    @TableField(value = "SCORE")
    private Double score;

    /**
     * (是)分值
     */
    @TableField(value = "YES_SCORE")
    private Double yesScore;

    /**
     * 序号
     */
    @TableField(value = "SERIAL_NUM")
    private Double serialNum;

    /**
     * 状态：1有效，2无效
     */
    @TableField(value = "STAT")
    private String stat;

    /**
     * 是否删除：0-否，1-是
     */
    @TableField(value = "DELETE_FLAG")
    private Long deleteFlag;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 创建人id
     */
    @TableField(value = "CREATOR_ID")
    private Long creatorId;

    /**
     * 修改时间
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 修改人id
     */
    @TableField(value = "UPDATOR_ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long updatorId;

    /**
     * 删除时间
     */
    @TableField(value = "DEL_TIME")
    private Date delTime;

    /**
     * 删除操作人id
     */
    @TableField(value = "DEL_OPTR")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long delOptr;

    /**
     * 创建人姓名
     */
    @TableField(value = "CREATOR")
    private String creator;

    /**
     * 修改人姓名
     */
    @TableField(value = "UPDATED_BY")
    private String updatedBy;

    /**
     * 删除人姓名
     */
    @TableField(value = "DELETED_BY")
    private String deletedBy;

    /**
     * 合理缺项预制：0否，1是
     */
    @TableField(value = "MISSING_ITEM_PRE")
    private String missingItemPre;

    /**
     * 问题描述预制：0否，1是
     */
    @TableField(value = "PROBLEM_PRE")
    private String problemPre;

    /**
     * 检查操作指南预制：0否，1是
     */
    @TableField(value = "GUIDE_PRE")
    private String guidePre;


    @TableField(value = "PROBLEM_PRE_TYPE")
    private String problemPreType;



    @TableField(exist = false )
    private String standardName;

    @TableField(exist = false )
    private Integer standardNum;

    private static final long serialVersionUID = 1L;
}
